package com.we.risk.attribution.correct;

import com.alibaba.fastjson.JSONArray;

public class BucketInfo {
    private String bktStrategyId; //桶策略id
    private String bktStrategyName; //桶策略id
    private int supportActions; // 1 曝光  2 点击
    private int adChooseRule;  // 1首次 2末次
    private int dateDiff;
    private String ma;
    private String h5;
    private String uids;
    private JSONArray channel;//渠道优先级
    private String node; //归因节点 login / submitAudit
    private int mode; //1: 单实验 2：多实验
    private String attribuId; //归因策略id
    private String attribuName; //归因策略name
    private int bucketId; //桶id
    private String bucketName;//桶name
    private int percent; //多桶占比
    private int postBackId; //回传id


    public void setNode(String node) {
        this.node = node;
    }

    public void setAdChooseRule(int adChooseRule) {
        this.adChooseRule = adChooseRule;
    }

    public void setDateDiff(int dateDiff) {
        this.dateDiff = dateDiff;
    }

    public void setMa(String ma) {
        this.ma = ma;
    }

    public void setH5(String h5) {
        this.h5 = h5;
    }

    public void setUids(String uids) {
        this.uids = uids;
    }

    public void setAttribuId(String attribuId) {
        this.attribuId = attribuId;
    }

    public void setAttribuName(String attribuName) {
        this.attribuName = attribuName;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public void setBktStrategyId(String bktStrategyId) {
        this.bktStrategyId = bktStrategyId;
    }

    public void setBktStrategyName(String bktStrategyName) {
        this.bktStrategyName = bktStrategyName;
    }

    public void setBucketId(int bucketId) {
        this.bucketId = bucketId;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public void setPercent(int percent) {
        this.percent = percent;
    }

    public void setPostBackId(int postBackId) {
        this.postBackId = postBackId;
    }

    public void setChannel(JSONArray channel) {
        this.channel = channel;
    }

    public void setSupportActions(int supportActions) {
        this.supportActions = supportActions;
    }

    public int getSupportActions() {
        return supportActions;
    }

    public int getAdChooseRule() {
        return adChooseRule;
    }

    public int getDateDiff() {
        return dateDiff;
    }

    public String getMa() {
        return ma;
    }

    public String getH5() {
        return h5;
    }

    public String getUids() {
        return uids;
    }

    public JSONArray getChannel() {
        return channel;
    }

    public String getNode() {
        return node;
    }

    public String getAttribuId() {
        return attribuId;
    }

    public String getAttribuName() {
        return attribuName;
    }

    public int getMode() {
        return mode;
    }

    public String getBktStrategyId() {
        return bktStrategyId;
    }

    public String getBktStrategyName() {
        return bktStrategyName;
    }

    public int getBucketId() {
        return bucketId;
    }

    public String getBucketName() {
        return bucketName;
    }

    public int getPercent() {
        return percent;
    }

    public int getPostBackId() {
        return postBackId;
    }

    @Override
    public String toString() {
        return "BucketInfo{" +
                "bktStrategyId='" + bktStrategyId + '\'' +
                ", bktStrategyName='" + bktStrategyName + '\'' +
                ", supportActions=" + supportActions +
                ", adChooseRule=" + adChooseRule +
                ", dateDiff=" + dateDiff +
                ", ma='" + ma + '\'' +
                ", h5='" + h5 + '\'' +
                ", uids='" + uids + '\'' +
                ", channel=" + channel +
                ", node='" + node + '\'' +
                ", mode=" + mode +
                ", attribuId='" + attribuId + '\'' +
                ", attribuName='" + attribuName + '\'' +
                ", bucketId=" + bucketId +
                ", bucketName='" + bucketName + '\'' +
                ", percent=" + percent +
                ", postBackId=" + postBackId +
                '}';
    }
}
